import Test from '@/views/Test.vue'
import Test1 from '@/views/Test1.vue'
export default [
    {
        name:'test',
        path:'/test',
        meta:{
            title:'test title'
        },
        component:Test,
        children:[
            {   
                meta:{
                    title:"test1 title"
                },
                props:(route) => ({id:route.params.id,name:route.query.name,age:route.query.age}),
                path:'/test/test1/:id',
                component:Test1
            }

        ]
    }
]